package awk.script.javassist.method04.proxy.javassist;

import awk.script.javassist.method04.proxy.TargetMethod;

import java.lang.reflect.InvocationTargetException;

/**
 * @author yujianlong
 * @create 2021-03-29 17:16
 **/
public class JavassistProxyTest  {

	public static void main(String[] args) throws InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException {
		TargetMethod proxy = JavassistProxy.getProxy(TargetMethod.class, new Class[]{}, new Object[]{});
//		proxy.testMethod("sds", 13);
		proxy.testMethod2("sds", 13);

	}

}
